/*
* @Author: fangshuqin
* @Date:   2018-05-07 14:23:03
* @Last Modified by:   ZHELIHAO\fangshuqin
* @Last Modified time: 2018-05-17 19:19:49
*/

{

    class Role extends Sail.Scene {
        constructor() {
            super();

            this.role = Public.Role.I;
            this.init();

        }

        init() {

            this.role.init(1);
            this.addChild(this.role);
        }

        onExit() {
        }
        onResize(width, height) {
            // let rate = height / GAME_CONFIG.HEIGHT;
            // this.rolelist.resize(width, height, rate);
            // this.roledetail.resize(width, height, rate);
            // this.rolesingle.resize(width, height, rate);
            this.role.resize(width, height);
        }
    }

    Sail.class(Role, "Scene.Role");
}